<!DOCTYPE html>
<html>
<head>
<title>W3.CSS(w3cschool.cn)</title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<link rel="stylesheet" href="https://7npmedia.w3cschool.cn/w3.css">
</head>
<body>
<form class="w3-container w3-card-4 w3-light-grey">
<h2>带边框的输入</h2>
<p>使用 w3-border 类以创建带边框的输入</p>
<p><label>名字</label>
<input class="w3-input w3-border" name="first" type="text"></p>
<p><label>姓</label>
<input class="w3-input w3-border" name="last" type="text"></p>
</form>
</body>
</html>